package com.qf.lja.enity;

public class Address {
    private Integer addressId;

    private Integer userId;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 收件人
     */
    private String recipients;
    /**
     * 收件人电话
     */
    private String phone;
    /**
     * 详细地址
     */
    private String addrName;
    /**
     * 默认地址
     */
    private Integer defalutAddr; // 0 非默认 1默认

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public String getRecipients() {
        return recipients;
    }

    public void setRecipients(String recipients) {
        this.recipients = recipients;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddrName() {
        return addrName;
    }

    public void setAddrName(String addrName) {
        this.addrName = addrName;
    }

    public Integer getDefalutAddr() {
        return defalutAddr;
    }

    public void setDefalutAddr(Integer defalutAddr) {
        this.defalutAddr = defalutAddr;
    }

    @Override
    public String toString() {
        return "Address{" +
                "addressId=" + addressId +
                ", recipients='" + recipients + '\'' +
                ", phone='" + phone + '\'' +
                ", addrName='" + addrName + '\'' +
                ", defalutAddr=" + defalutAddr +
                '}';
    }

}
